package com.chen.product.mapper;

import com.chen.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cgj
 * @date 4/12/25 3:10 PM
 */
@Mapper
public interface CategoryMapper {
    /**
     * 查询一级分类
     * @return
     */
    List<Category> selectFirstLevelCategory();


    /**
     *查询全部分类
     * @return
     */
    List<Category> findAll();
}
